SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 57806: An exception might occur when you attempt to override inherited vendor deal support for a regional promotion

DetailsHotfixAboutRate It

In SAS® Promotion Optimization, the following exception might occur when you attempt to override inherited vendor deal support for a regional promotion:

FATAL Worker-1 java.lang.StackTraceElement - ERROR: ProductAssignment: Need to initialize MinCost first! com.sas.solutions.di.server.rpp.api.NamedScopedValue$UninitializedException: ERROR: ProductAssignment: Need to initialize MinCost first! at com.sas.solutions.di.server.rpp.api.ProductAssignment.validateInit(ProductAssignment.java:248) at com.sas.solutions.di.server.rpp.api.ProductAssignment.getMinCost(ProductAssignment.java:383) at com.sas.solutions.di.server.rpp.api.ProductAssignment.getScanMetrics(ProductAssignment.java:989) at com.sas.solutions.di.server.rpp.api.ProductAssignment.buildMetrics(ProductAssignment.java:768) at com.sas.solutions.di.server.rpp.PromotionPlanImpl.initializeProductSummary(PromotionPlanImpl.java:9975) at com.sas.solutions.di.server.rpp.PromotionPlanImpl.initialize(PromotionPlanImpl.java:3125) at com.sas.solutions.di.server.rpp.NamedScopedValueImpl.getImpls(NamedScopedValueImpl.java:262) at com.sas.solutions.di.server.rpp.PromotionPlanImpl.getPromotionPlanVersions

The exception occurs when you enter a scan amount value of 0 and select % off regular cost when overriding the vendor deal support.

The workaround for this issue is to select $ per unit instead of % off regular cost when you enter a value of zero for scan amount.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Promotion OptimizationMicrosoft® Windows® for x645.2_M45.49.3 TS1M29.4 TS1M3
Linux for x645.2_M45.49.3 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.